package com.yyq.adms.usermanage.bpo;

import java.util.List;
import java.util.Map;

import com.yyq.adms.usermanage.pojo.SysDepts;
import com.yyq.adms.usermanage.pojo.SysUsers;
import com.yyq.sos.permission.LoginUser;
import com.yyq.sos.pojo.PermissionVO;
import com.yyq.sos.service.BaseBpo;

public interface SysUsersBpo extends BaseBpo 
{
	SysUsers login(SysUsers vo);
	
	List getUserRoles(SysUsers vo);
	
	boolean updateUserRoles(SysUsers vo, String[] roleIds,String[] grantIds);
	
	public List getModulePermByUser(LoginUser user);
	
	Map<String,List<String>> getPermission(long userId);
	
	
	SysDepts getOrgDept(SysDepts pd);
	
	void doOperationMap(LoginUser user);
}
